package com.kangye.exam.bean;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * gonggao
 * @author 
 */
@Data
public class Gonggao implements Serializable {
    /**
     * 公告id
     */
    private Integer gId;

    /**
     * 公告内容
     */
    private String content;

    /**
     * 创建人
     */
    private Integer teacherId;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}